---
title: Tilted Card
description: A card component that tilts when hovered.
labels: ["requires interaction", "hover"]
author: ll4xmii
---

<ComponentPreview name="card-tilted-card--docs" />

## Installation

<Steps>
<Step>Run the following command</Step>

It will create a new file called `tilted-card.tsx` inside the `components/animata/card` directory.

```bash
mkdir -p components/animata/card && touch components/animata/card/tilted-card.tsx
```

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/card/tilted-card.tsx

```

</Steps>

## Credits

Built by [Laxmi Lamichhane](https://github.com/llaxmi)
